package ch13;

public class Admin {

	private int adminID; // Customer account number
	private int adminPIN; // Customer pin number

	public Admin(int theAdminID, int thePIN) {
		adminID = theAdminID;
		adminPIN = thePIN;
	}

	public boolean validatePIN(int userPIN) {
		if (userPIN == adminPIN)
			return true;
		else
			return false;
	} // end method validatePIN

	public int getAdminID() {
		return adminID;
	} // end method getAccountNumber

}